package cn.shop.admin.entity.mainSiteAnnouncementModule;

import cn.shop.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 主站合作游戏表
 * @author : 李一涵
 * @since : 2022-10-8 11:40
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MainSiteGames extends BaseEntity {

    private String title;
    @NotNull(message = "请上传图片")
    private String picture;
    private String url;
    @NotNull(message = "请选择类型")
    private int type;

}
